<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>注册<{$config.company}> - Powered by ShopBuilder</title>
<meta name="description" content="<{$config.description}>" />
<meta name="keywords" content="<{$config.keyword}>" />
<meta name="author" content="MallBuilder Team and ShopBuilder UI Team" />
<meta name="copyright" content="ShopBuilder" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link href="<{$config.weburl}>/templates/default/page.css" rel="stylesheet" type="text/css" />
<script src="<{$config.weburl}>/script/jquery-1.4.4.min.js" type="text/javascript"></script>
<script src="<{$config.weburl}>/script/base.js" type="text/javascript"></script>
<script type="text/javascript" src="<{$config.weburl}>/script/jquery.ui.js"></script>
<script type="text/javascript" src="<{$config.weburl}>/script/dialog/dialog.js" id="dialog_js"></script>
<script type=text/javascript>
	var allnotblank='<{$lang.allisnotblank}>';
	var passlength='<{$lang.passisnotlowfour}>';
	var passistooleng='<{$lang.passisnotlongtenw}>';
	var passnotsame='<{$lang.passisnotsame}>';
	var emailerror='<{$lang.emailiserror}>';
	var changeemil='<{$lang.changeemil}>';
	var randcodeerror='<{$lang.codeiserror}>';
	var randcodeisemp='<{$lang.codeisempty}>';
	var rcodeiserror='<{$lang.randcodeerror}>';
	var enterusername='<{$lang.usernameisblank}>';
	var unameisfour='<{$lang.usernameislowfour}>';
	var unameisen='<{$lang.usernameisen}>';
	var usernameprotect='<{$lang.usernameisprotect}>';
	var have_blank='<{$lang.have_blank}>';
	function dis()
	{
		if($('#submitreg').attr('disabled')==false)
			$('#submitreg').attr('disabled',true);
		else
			$('#submitreg').attr('disabled',false);
	}
</script>
<script src="<{$config.weburl}>/script/register.js" type=text/javascript></script>
<script src="script/my_lightbox.js" language="javascript"></script>
</head>
<body class="register">
<div id="shortcut">
    <div class="w">
        <ul class="fl">
            <li class="ld">
                <b></b>
                <a href="javascript:addToFavorite('<{$config.weburl}>','<{$config.company}>')">
                收藏首页
                </a>
            </li>
        </ul>
		<ul class="fr">
			<li><script src="<{$config.weburl}>/login_statu.php"></script></li>
            <li class="ld"><s></s><a href="<{$config.weburl}>/main.php?m=product&s=admin_buyorder">我的订单</a></li>
		</ul>
    <span class="clr"></span>
	</div>
</div>
<div id="header">
	<div class="w header">
    	<div class="logo ld">
        <a hidefocus="true" title="<{$config.company}>" href="<{$config.weburl}>"><img src="<{if $config.logo}><{$config.logo}><{else}><{$config.weburl}>/image/logo.png<{/if}>" /></a>
        <b></b>
        </div>
	</div>
</div>

<{if $config.closetype==2}>
<div style="height:300px; padding-top:150px; color:#FF0000; border: 1px solid #A9B9D3; font-size:16px"> <{$config.closecon}></div>
<{else}>
<div class="w">
	<div class="entry">
    	<div class="mt">
            <ul class="tab">
                <li class="curr">个人用户</li>
            </ul>
            <div class="extra">
            <span>我已经注册，现在就&nbsp;<a href="<{$config.weburl}>/login.php">登录</a></span>
            </div>
        </div>
        
    	<div class="mc">
            <div class="form">
			<form action="" method="post">
                <div class="item">
                    <span>账户名：</span>
                    <div class="item-ifo">
                    <input onblur="check_user();" name="user" type="text" id="user" class="text" />
					<span id="tishi"></span>
                    <div class="i-name ico"></div>
                    </div>
                </div>
                
                <div class="item">
                    <span>邮箱：</span>
                    <div class="item-ifo">
                    <input onblur="check_email();" name="email" type='text' class="text" id="email" />
                    <span id="tishi_email"></span>
                    </div>
                </div>
                
                <div class="item">
                    <span>请设置密码：</span>
                    <div class="item-ifo">
                  	<input type="password"  name="password" id="password" class="text" />
                    <div class="i-pass ico"></div>
                    <span id="tishi"></span>
                    </div>
                </div>
                
                <div class="item">
                    <span>请确认密码：</span>
                    <div class="item-ifo">
                  	<input type="password" name="re_password" id="re_password" class="text" />
                    <div class="i-pass ico"></div>
                    <span id="tishi"></span>
                    </div>
                </div>
                
                <div class="item">
                    <span>验证码：</span>
                    <div class="item-ifo">
						<input name="yzm" type="text" id="yzm" class="text w40" onChange="check_yzm()" />
                        <img onclick="get_randfunc(this);" src='<{$config.weburl}>/includes/rand_func.php'/>
                        <span id="tishi2"></span>
                    </div>
                </div> 
                
				<{if $config.user_reg_verf}>
				<div class="item">
                    <span>验证问题：</span>
                    <div class="item-ifo">
						<input onFocus="show_yzwt();" name="ckyzwt" type="text" id="ckyzwt" class="text" onChange="check_yzwt()" onclick="show_yzwt();"  />
                        <span id="yzwt" ></span>
                        <span id="tishi8"></span>
                    </div>
                </div> 
           		<{/if}> 
                <div class="item readme">
                    <span>&nbsp;</span>
                    <div class="item-ifo">
                    <input name="readme" class="checkbox" id="readme" type="checkbox" onclick="dis()" />
                    <label for="readme">我已阅读并同意<a id="read" href="#">《<{$config.company}>用户注册协议》</a></label>
                    </div>
                </div>
                
                <div class="item register-btn">
                	<span>&nbsp;</span>
                    <input type='submit' name='submitreg' id="submitreg" value='<{$lang.submit_title}>'  onClick="return check()" disabled="disabled"/>
                    <input name="forward" type="hidden" id="forward" value="<{$smarty.get.forward}>" />
                    <input name="connect_id" type="hidden" id="forward" value="<{$smarty.get.connect_id}>" />
                </div>
            </form>
            </div>
        </div>
    </div>
</div>
<script>
$('#read').click(function(){

	html_form("read", '<{$config.company}>用户注册协议', '<div style="padding: 10px 20px;"><{$config.association}></div>', 800);
	return false;
});
</script>
<{/if}>
<div class="clear"></div>
<div class="footer clearfix">
    <div class="w">
        <div class="links"><{$web_con}></div>
        <div class="copyright"><{$bt}></div>
    </div>
</div>
</body>
</html>